package com.jiangyg.mall.coupon.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 类描述：秒杀商品通知订阅
 * 
 * @author jiangyg
 * @email email@jiangyg.com
 * @date 2021-10-18 21:33:05
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode
@TableName("mc_seckill_sku_notice")
public class SeckillSkuNotice implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId(type = IdType.ASSIGN_ID)
	@TableField("id")
	private Long id;

	/**
	 * member_id
	 */
	@TableField("member_id")
	private Long memberId;

	/**
	 * sku_id
	 */
	@TableField("sku_id")
	private Long skuId;

	/**
	 * 活动场次id
	 */
	@TableField("session_id")
	private Long sessionId;

	/**
	 * 订阅时间
	 */
	@TableField("subcribe_time")
	private Date subcribeTime;

	/**
	 * 发送时间
	 */
	@TableField("send_time")
	private Date sendTime;

	/**
	 * 通知方式[0-短信，1-邮件]
	 */
	@TableField("notice_type")
	private Integer noticeType;


}
